/**
 * 
 */
package com.attilax.sms;

 

import java.util.List;

import com.attilax.cc.mainx;
import com.attilax.io.filex;
import com.csmy.my.center.util.RequestUtil;

/**
 * impt sms n capt itfs..
 * @author attilax
 *2016年11月22日 下午4:05:07
 */
public class SmsServiceYyuntongxunImp extends SmsService  {
	
	public static void main(String[] args) {
		SmsServiceYyuntongxunImp smsS = new SmsServiceYyuntongxunImp();
		smsS.tmp_id = "135240";
		smsS.tmp_id = "135886";
	//
		System.out.println("--");
		List<String> li=filex.read2list("d:\\cp.txt");
		int n = 0;
		for (String string : li) {
			try {
				n++;
				System.out.println(n);
				if(n<156)
					continue;
				if(string.trim().length()==11)
				{
					System.out.println(string);
					smsS.send(string, "17:58");
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
			
				
		}
 	
	}

	
	/**
	 * 
	 */
	public   String tmp_id = "1";

	//public String code=;
	public String min="10";

	public Object send(String mobile, String code) 
	{
		
		return  new SDKTestSendTemplateSMS().send(mobile, code, tmp_id, min);


	}
}
